﻿@{
    ViewBag.Title = "Welcome";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>Welcome</h2>

<ul>
@for(var i=0; i<ViewBag.NumTimes; i++)
{
    <li>@ViewBag.Message</li>
}
</ul>